package CCRMClient.Controllers;

import Common.SERVER_COMMANDS;
import Common.ServerRequest;

/**
 * This class implements the client side report sub-system
 * @author Ori Ziv
 *
 */
public class ReportManager {

	/**
	 * This method creates a server request with a customer report command
	 * @return - ServerRequest
	 */
	public static ServerRequest customerReport(){ 
		return new ServerRequest (SERVER_COMMANDS.CUSTOMERS_REPORT, null, null);}
		
	
	
	
/**
 * this method crates a server request with saleID to sale report command
 * @param saleID
 * @return
 */
	public static ServerRequest salesReport(SERVER_COMMANDS command,String saleID){
		return new ServerRequest (SERVER_COMMANDS.SALES_REPORT, "user",saleID);}
	
}
